package com.edu.spider.mapper;

import java.util.List;

import com.edu.spider.DTO.FindLocalTrainInfoDTO;
import com.edu.spider.enity.TrainInfo;

public interface TrainInfoMapper {
    int deleteByPrimaryKey(String id);

    int insert(TrainInfo record);

    TrainInfo selectByPrimaryKey(String id);

    List<TrainInfo> selectAll();

    int updateByPrimaryKey(TrainInfo record);

	/**
	 * Author:ljl
	 * Date:2018年9月21日下午2:19:52
	 * Title: findTrainInfoByConditional 
	 * Description:
	 * @param findLocalTrainInfoDTO
	 * @return
	 */
	List<TrainInfo> findTrainInfoByConditional(
			FindLocalTrainInfoDTO findLocalTrainInfoDTO);
}